<?php 
// Connects to your Database 
mysql_connect("localhost", "username", "password") or die(mysql_error()); 
mysql_select_db("database") or die(mysql_error()); 
$data = mysql_query("SELECT * FROM ino_serverServerStatus") 
or die(mysql_error()); 
while($info = mysql_fetch_array( $data )) 
$serveronline = ( $info['serverOpen'] . " " );

//Checks to see if the server is offline
if ( $serveronline == 1 ){
	echo '<img src="/evepostingstuff/img/online.gif">' ;
}

if ( $serveronline == 0 ){
	echo '<img src="/evepostingstuff/img/offline.gif">' ;
}
?>

<html>
<body bgcolor="black">
</body>
</html>